import path from 'path';

const port = 443;
const sslPrivateKeyName = 'private.key';
const sslCertificateName = 'chat-room.crt';

export const globalConfig = {
  port,
  sslPrivateKeyName,
  sslCertificateName,
  httpServerUrl: `https://localhost:${port}`,
  socketOriginUrl: `https://localhost:${port}`,
  sslPrivateKey: path.resolve(sslPrivateKeyName),
  sslCertificate: path.resolve(sslCertificateName)
};
